﻿//09.Write a program to print the first 100 members ofthe sequence of 
//Fibonacci: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, …

using System;
using System.Numerics;

namespace Fibonacci
{
    class Fibonacci
    {
        static void Main()
        {
            BigInteger a = 0;
            BigInteger b = 1;
            BigInteger sum = a + b;

            Console.WriteLine("Member 1: {0}",a);
            Console.WriteLine("Member 2: {0}", b);

            for (int member = 3 ; member <= 100; member++)
            {
                Console.WriteLine("Member {0}: {1}", member, sum);
                a = b;
                b = sum;
                sum = a + b;
            }
        }
    }
}
